package com.atguigu.gmall;

import org.springframework.boot.SpringApplication;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

//调谁扫谁；
//远程调用的路径可能一样，所以包扫描要越详细越好
@EnableFeignClients(basePackages = "com.atguigu.gmall.feign.product")
@SpringCloudApplication
public class ItemMainApplication {

    public static void main(String[] args) {

        SpringApplication.run(ItemMainApplication.class,args);
    }
}
